<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scaleble=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>历史回复</title>
    <link rel="stylesheet" href="css/app.css">
    <link rel="stylesheet" href="css/首页/index.css">
</head>

<body>
    <header class="top_bg">
        <div class="h45 ac">
            <a href="javascript:;" class="left_btn"></a>
            付款明细
        </div>
    </header>

    <ul class="tab h45">
        <li>NO.</li>
        <li>日期</li>
        <li>反馈内容</li>
        <li>客服回复内容</li>
    </ul>

    <div class="tab_lists">
        <ul class="h45">
            <li>4</li>
            <li>6.27</li>
            <li>啊啊啊...</li>
            <li>
                <a href="javascript:;" class="c1" data-c="pr1">查看</a>
            </li>
        </ul>
        <ul class="h45">
            <li>3</li>
            <li>6.27</li>
            <li>啊啊啊...</li>
            <li>
                <a href="javascript:;" class="c2" data-c="pr2">查看</a>
            </li>
        </ul>
        <ul class="h45">
            <li>2</li>
            <li>6.27</li>
            <li>啊啊啊...</li>
            <li>
                <a href="javascript:;" class="c3" data-c="pr3">查看</a>
            </li>
        </ul>
        <ul class="h45">
            <li>1</li>
            <li>6.27</li>
            <li>啊啊啊...</li>
            <li>
                <a href="javascript:;" class="c4" data-c="pr4">查看</a>
            </li>
        </ul>
    </div>

    <div class="mask_wrap">
        <div class="pop_history_reply pr1">
            <div class="history_reply">
                <p>回复</p>
                <div>
                    您好，你的问题我们已经收到，啊啊啊啊啊啊啊啊啊 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊阿。。。。
                </div>
            </div>
            <button type="button" class="confirm_btn">确定</button>
        </div>
        <div class="pop_history_reply pr2">
            <div class="history_reply">
                <p>回复</p>
                <div>
                    asdfsdfsdfsdf
                </div>
            </div>
            <button type="button" class="confirm_btn">确定</button>
        </div>
        <div class="pop_history_reply pr3">
            <div class="history_reply">
                <p>回复</p>
                <div>
                    ghjghjghjhgjkjh
                </div>
            </div>
            <button type="button" class="confirm_btn">确定</button>
        </div>
        <div class="pop_history_reply pr4">
            <div class="history_reply">
                <p>回复</p>
                <div>
                    fdgsdfgsdfertertert123213
                </div>
            </div>
            <button type="button" class="confirm_btn">确定</button>
        </div>
    </div>
    <script src="js/jquery-1.11.3.js"></script>
    <script>
        var as = $('.tab_lists a');
        for (var i = 0; i < as.length + 1; i++) {
            $('.c' + i).on('click', function () {
                var dataC = $(this).attr('data-c');
                // console.log(dataC);
                $('.mask_wrap').show();
                $('.pop_history_reply').css('opacity', '0')
                $('.pop_history_reply.' + dataC).css('opacity', '1');
            })
        }

        $('.confirm_btn').on('click', function () {
            $('.mask_wrap').hide();
        })
    </script>
</body>

</html>